package com.bst.bsj.common.dal.dataobject;

import com.sylinxsoft.tools.BaseDO;
import com.sylinxsoft.tools.annotation.BoConfig;
import com.sylinxsoft.tools.annotation.BoFieldConfig;
import com.sylinxsoft.tools.annotation.Comment;

/**
 * 
* @Title: Role.java
* @Package com.bst.bsj.common.dal.dataobject
* @Description: 用户角色
* @author yj
* @date 2016年3月24日 下午1:56:33
* @version V1.0
* Copyright (c) 2015, 博思堂博视界.
 */
@BoConfig(tableName = "t_sys_role")
public class Role extends BaseDO {

  @BoFieldConfig(columnName = "roleName", length = 32)
  @Comment(description = "角色名")
  private String roleName;

  @BoFieldConfig(columnName = "parentId", length = 20)
  @Comment(description = "上下级id")
  private Long parentId;

  @BoFieldConfig(columnName = "rights", length = 32)
  @Comment(description = "权限")
  private String rights;

  @BoFieldConfig(columnName = "status", length = 1)
  @Comment(description = "状态")
  private Integer status;

  @BoFieldConfig(columnName = "remark", length = 255)
  @Comment(description = "备注")
  private String remark;

  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }

  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }

  public String getRights() {
    return rights;
  }

  public void setRights(String rights) {
    this.rights = rights;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

}
